package ControllerLayer;
import DomainLayer.*;

public class UserController
{
    private UserCollection users;

    public UserController()
    {
        users= UserCollection.getInstance();
    }
    public void addManager(String id, String password, String name)
    {
        users.addManager(id,password,name);
    }
    
    public void addAssistant(String id, String password, String name)
    {
        users.addAssistant(id,password,name);
    }
    
    
    public User findUser(String id)
    {
        return users.findUser(id);
    }
}